import java.awt.Container;
import java.awt.Dimension;
import java.awt.GraphicsDevice;
import java.awt.GraphicsEnvironment;
import java.awt.Insets;
import java.awt.Toolkit;
import java.io.IOException;

import javax.swing.JFrame;


public class QuizBlaster
{

	/**
	 * @param args
	 */
	public static void main(String[] args)
	{
		Quiz quiz = new Quiz("math1-1.qz");
		try
		{
			quiz.read();
		} 
		catch (IOException e)
		{
			e.printStackTrace();
		}
		
		JFrame frame = new JFrame();
		QuizController ctrl = new QuizController(frame, quiz);
		
		frame.pack();
		ctrl.go();

	}

}
